package com.zjt.entity;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;
/**
 * Created with IntelliJ IDEA.
 * User: xueyanbeijing
 * Date: 12-8-23
 * Time: AM6:48
 * 反馈
 * To change this template use File | Settings | File Templates.
 */
@Entity
//表名与类名不相同时重新定义表名.
@Table(name="s_feed_back")
public class FeedBack extends BaseEntity{
    private Long userId;
    private String email;
    private String content;
    private int status;//状态  0  未处理，1 已回复
    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "FeedBack{" +
                "userId=" + userId +
                ", email='" + email + '\'' +
                ", content='" + content + '\'' +
                ", status=" + status +
                '}';
    }
}
